import Vue from 'vue'
import App from './App.vue'
import {
  router
} from './router/index'
import store from './store'
import ViewUI from 'view-design'
import 'view-design/dist/styles/iview.css'
import axios from './util/axios'
import myplug from 'ynplug'
import LoginAction from '@/util/loginAction'

Vue.use(ViewUI)
Vue.use(myplug)
Vue.prototype.$axios = axios
Vue.config.productionTip = false
Vue.prototype.$LoginAction = LoginAction

new Vue({
  data: function () {
    return {
      no_validateTips: "请输入（*）中的必填内容！",
      placeHoldImg:
        'this.src="' + require("@/assets/images/main/master/jcyy.png") + '"',
    }
  },
  router,
  store,
  render: h => h(App)
}).$mount('#app')
